#pragma once

#include <QDialog>
#include <QCheckBox>
#include "publicguidefine.h"

class SourcesCreateSettingDialog : public QDialog
{
	Q_OBJECT
public:
	SourcesCreateSettingDialog(QWidget* parent=0,Qt::WindowFlags f=0);
	~SourcesCreateSettingDialog();

	PublicGui::SourcesCreateSetting getSetting();
private:
	QPushButton*							_okButton;
	QPushButton*							_cancelButton;
	QCheckBox*								_noStopCreateCheckBox;
	QCheckBox*								_autoSetPositionZeroCheckBox;
	QCheckBox*								_setObjCanSelectedCheckBox;
	PublicGui::SourcesCreateSetting			_setting;
private slots:
	void slotValueChanged(int);
};